<?php
/**
 *	Script of CodeLines.
 *	@category		cmTools
 *	@package		CodeLines
 *	@uses			CodeLines
 *	@author			Christian Würker <christian.wuerker@ceus-media.de>
 *	@version		$Id$
 */
require_once 'cmClasses/0.7.0/autoload.php5';									//  connect to cmClasses
require_once 'CodeLines.php5';													//  load Tool Class

$configFile	= dirname( __FILE__ ).'/config.ini';								//  load project settings
if( !file_exists( $configFile ) )
	throw new Exception( 'Config file is missing' );
$config	= parse_ini_file( $configFile, TRUE );									//  load Configuration

CodeLines::$path		= $config['project']['path'];							//  set Path to Project
CodeLines::$extensions	= explode( ",", $config['project']['extensions'] );		//  set File Extensions

new CodeLines;																	//  run Tool
?>